package cu.ds.logicalsync.fytasrealm.model;

public class Position {
	
	public int rowPosition;
	public int colPosition;
	public boolean positionOccupy;
	
	public Position(int row, int col) {
		this.rowPosition = row;
		this.colPosition = col;
		this.positionOccupy = false;
	}
	
//	public void setPosition(int row,int col) {
//		this.rowPosition = row;
//		this.colPosition = col;
//	}
	public int getRowPosition() {
		return rowPosition;
	}

	public void setRowPosition(int rowPosition) {
		this.rowPosition = rowPosition;
	}

	public int getColPosition() {
		return colPosition;
	}

	public void setColPosition(int colPosition) {
		this.colPosition = colPosition;
	}
	public void setPositionOccupy(boolean isOccupy) {
		this.positionOccupy = isOccupy;
		//true means not available
	}
	public boolean isOccupy() {
		return this.positionOccupy;
	}

}
